<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="lib/html5.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<script type="text/javascript" src="lib/PIE_IE678.js"></script>
<![endif]-->
<link href="__PUBLIC__/css/H-ui.min.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/css/H-ui.admin.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/lib/icheck/icheck.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/lib/Hui-iconfont/1.0.6/iconfont.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/lib/webuploader/0.1.5/webuploader.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/lib/Validform/5.3.2/style.css" rel="stylesheet" type="text/css" />
	<link href="__PUBLIC__/css/autocomplete.css" rel="stylesheet" type="text/css" />
<!--[if IE 6]>
<script type="text/javascript" src="http://lib.h-ui.net/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>添加客户</title>
</head>
<body>
<div class="pd-20">
		<form action="" method="post" class="form form-horizontal" id="form-customer-add" autocomplete="off">
			<div class="row cl">
				<label class="form-label col-3"><span class="c-red">*</span>主要号码：</label>
				<div class="formControls col-5">
					<input type="text" class="input-text" value="" placeholder="" id="tel" name="tel">
				</div>
				<div class="col-4"> </div>
			</div>
			<div class="row cl">
				<label class="form-label col-3"><span class="c-red">*</span>姓名：</label>
				<div class="formControls col-5">
					<input type="text" class="input-text" value="" placeholder="" id="name" name="name" datatype="*" errormsg="" nullmsg="请输入房间名称">
				</div>
				<div class="col-4"> </div>
			</div>
			<div class="row cl">
				<label class="form-label col-3"><span class="c-red">*</span>性别：</label>
				<div class="formControls col-5 skin-minimal">
						<div class="radio-box">
							<input type="radio" id="sex-1" name="sex" class="sex"  value="M" checked="checked">
							<label for="sex-1">男</label>
						</div>
						<div class="radio-box">
							<input type="radio" id="sex-2" name="sex" class="sex" value="F" datatype="*" nullmsg="请选择性别！">
							<label for="sex-2">女</label>
						</div>	
				</div>
				<div class="col-4"> </div>
			</div>
			<!-- 添加地址栏 -->
			<div class="row cl">
				<label class="form-label col-3">添加地址栏：</label>
				<div class="formControls col-5">
						<button class="btn btn-primary">添加一栏</button>
				</div>
				<div class="col-4"> </div>
			</div>
			<div class="row cl">
				<label class="form-label col-3">地址：</label>
				<div class="formControls col-5">
						<select name="" class="xiaoqu">
                            <option value="" selected="true" disabled="true">请选择小区</option>
                        </select>
                        <select name="" class="quyu">
                            <option value="" selected="true" disabled="true">请选择区域</option>
                        </select>
                        <select name="" class="louhao">
                            <option value="" selected="true" disabled="true">请选择楼号</option>
                        </select>
                        <select name="" class="danyuan">
                            <option value="" selected="true" disabled="true">请选择单元</option>
                        </select>
                        <select name="" class="fangjian">
                            <option value="" selected="true" disabled="true">请选择房间号</option>
                        </select>
				</div>
				<div class="col-4"> </div>
			</div>
			<div class="row cl">
				<div class="col-3"></div>
				<div class="col-5"><span id="addressInfo"></span></div>
				<div class="col-4"></div>
			</div>
			<div class="row cl">
				<label class="form-label col-3">客户备注：</label>
				<div class="formControls col-5">
					<textarea name="mark" cols="" rows="" class="textarea"  placeholder="100个字符以内" dragonfly="true" value="" onKeyUp="textarealength(this,100)"></textarea>
					<p class="textarea-numberbar"><em class="textarea-length">0</em>/100</p>
				</div>
				<div class="col-4"> </div>
			</div>
			<div class="row cl">
				<div class="col-9 col-offset-3">
					<!-- <input class="btn btn-primary radius" type="submit" value="提交"> -->
					<span class="btn btn-primary" id="formSub">提交</span>
				</div>
			</div>
		</form>
		<div id="allmap"></div>
</div>
<script type="text/javascript" src="__PUBLIC__/lib/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript" src="__PUBLIC__/lib/icheck/jquery.icheck.min.js"></script> 
	<script type="text/javascript" src="__PUBLIC__/js/autocomplete_service.js"></script>
<script type="text/javascript" src="__PUBLIC__/lib/Validform/5.3.2/Validform.min.js"></script> 
<script type="text/javascript" src="__PUBLIC__/lib/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="__PUBLIC__/lib/layer/2.1/layer.js"></script> 
<script type="text/javascript" src="__PUBLIC__/js/H-ui.js"></script> 
<script type="text/javascript" src="__PUBLIC__/js/H-ui.admin.js"></script> 
<script type="text/javascript" src="Tpl/Service/common/center/create.js"></script>
<script src="http://cdn.bootcss.com/jquery.form/3.51/jquery.form.min.js"></script>

<script type="text/javascript" src="__PUBLIC__/js/getUrl.js"></script> 
	<script type="text/javascript">
		// 全局
		var info={
			tel:"",//呼入用户手机号
			index:0,//下拉索引
			control:'Room',//控制器
			action:'autoComplete',//自动完成方法
			formName:'#searchName'//表名
		}
		$(function(){
			info.tel=$.getUrlVar('tel');
			work.init();
		})
</script>
</body>
</html>